package com.sooth.micro.camunda.converter.bean.task;

import com.sooth.micro.camunda.converter.bean.BaseDefinition;
import com.sooth.micro.camunda.converter.bean.BpmnElementType;
import com.sooth.micro.camunda.converter.bean.extension.Candidate;
import com.sooth.micro.camunda.converter.bean.listener.TaskListener;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
public class UserTaskDefinition extends BaseDefinition {

    private String assignee;

    private String candidateUsers;

    private String candidateGroups;

    private List<Candidate> candidateList;

    private List<TaskListener> taskListeners;

    @Override
    public String getNodeType() {
        return BpmnElementType.USER_TASK.getElementTypeName().get();
    }
}
